package cc.linker.steplink.crm.merchanth5.dao;

import java.util.List;
import java.util.Map;

public interface EnrollActiveDao {

    Map<String,Object> getInfo(Map<String, Object> param);

    List<Map<String,Object>> getOption(String enrollId);

    List<Map<String,Object>> getAttribute(String enrollId);

    Map<String,Object> getCustomerRecord(Map<String, Object> param);

    int getCustomerRecordCount(Map<String, Object> param);

    Integer addRecord(Map<String, Object> param);

    Boolean updateRecord(Map<String, Object> param);

    Map<String, Object> getOptionByOptionId(String optionId);

    Map<String, Object> getAttributeByAttrId(String attrId);

    List<String> getNeedAttrIdByEnrollId(String enrollId);

    void addExistNum(Map<String, Object> param);

    void cutExistNum(Map<String, Object> param);

    void finishRecord(Map<String,Object> param);

    Map<String,Object> getRecordByOrderSn(String orderSn);

    String getRebateByEnrollId(String enrollId);

    List<Map<String, Object>> getMyEnrollList(Map<String, String> param);

    Integer getRealNum(String enrollId);

    Integer getSetNum(String enrollId);

    Integer unlimited(String enrollId);

    void delRecrod(String orderSn);

    void delRecrodByEnrollIdAndCustomerId(Map<String, Object> param);

    Map<String, Object> getRecordByTradeSn(String tradeSn);

    List<Map<String, Object>> getUnpayList();

    Map<String, Object> getCustomerRecordByOrderSn(String orderSn);

    Map<String, Object> getCustomerRecordMap(Map<String, Object> param);

    List<String> getEnrollLabelIdList(String enrollId);

    void addEnrollLabel(Map<String,Object> param);

    Map<String, Object> getFormRecord(String orderSn);
}
